cmake_minimum_required(VERSION 3.13.4)

project(cmake_read)

message("--------Proj Src Dir: " ${PROJECT_SOURCE_DIR})
set(TEST_CONTENT "hello world")
file(WRITE ${PROJECT_SOURCE_DIR}/test.cpp ${TEST_CONTENT})
message("--------TEST_CONTENT: " ${TEST_CONTENT})
